import DataCheckDetail from './DataCheckDetail'
import { StoreState } from '../../redux/Types'
import { connect } from 'react-redux'


export function mapStateToProps({ global: { sample, sampleImgs, workStatus, checkList, roleScore, sampleScore } }: StoreState) {
  return {
    sample,
    sampleImgs,
    workStatus,
    checkList,
    roleScore,
    sampleScore
  }
}
export default connect(mapStateToProps)(DataCheckDetail)